package com.privatetime.common.util;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.PageContext;

public class ResponseUtil {

	public static void Writer(PageContext pageContext, String content) throws JspException {
		JspWriter writer = pageContext.getOut();
		try {
			writer.println(content);
		} catch (IOException e) {
			throw new JspException("I/O exception:" + e.toString());
		}
	}
}
